<script type="text/javascript">
	var iconData = [ {
		value : 'CRON',
		text : 'CRON'
	}, {
		value : 'DELAY',
		text : 'DELAY'
	}, {
		value : 'RATE',
		text : 'RATE'
	}];
	
	$(function() {
		$('#trigger_type_combobox').combobox({
			data : iconData
		});
	});
</script>
<div>
	<form method="post" id="scheduler_addForm" name="scheduler_addForm" >
	<input type="hidden" id="entity.id" name="entity.id" />
    <table class="form-table" cellpadding=3>
        <tr>
            <td>${action.getDatagridTitle('descriptions')}:</td>
            <td><input id="entity.descriptions" name="entity.descriptions" type="text" style="width: 300px;" class="easyui-validatebox" data-options="required:true,validType:'length[0,200]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('method')}:</td>
            <td><input id="entity.method" name="entity.method" type="text" style="width: 300px;" class="easyui-validatebox" data-options="required:true,validType:'length[0,120]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('arguments')}:</td>
            <td><input id="entity.arguments" name="entity.arguments" type="text" style="width: 300px;" class="easyui-validatebox" data-options="required:true,validType:'length[0,60]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('expression')}:</td>
            <td><input id="entity.expression" name="entity.expression" type="text" style="width: 300px;" class="easyui-validatebox" data-options="required:true,validType:'length[0,120]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('autoStart')}:</td>
            <td>
            	<input type="radio" name="entity.autoStart" value="false" checked="checked" />${action.getProperty('net.esj.background.message','bg.message.radio.no')}
			    <input type="radio" name="entity.autoStart" value="true" />${action.getProperty('net.esj.background.message','bg.message.radio.yes')}
            </td>
        </tr>
        <tr>
        	<td>${action.getDatagridTitle('triggerType')}:</td>
        	<td>
        		<input class="easyui-combobox" style="width:200px;" id="trigger_type_combobox" name="entity.triggerType" data-options="required:true" >
        	</td>
        </tr>
    </table>
	</form>
</div>
